import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { focus } from './utils/focus'
import Particles from "vue3-particles";
import Hospitalvisits from '@/components/Hospitalvisits/index.vue'
import App from './App.vue'
import router from './router'

const app = createApp(App)
//载入全局组件
// eslint-disable-next-line vue/multi-word-component-names
app.component('Hospitalvisits',Hospitalvisits)
app.directive("focus",focus)
app.use(createPinia())
app.use(Particles)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
